#ifndef PLATFORM_CONFIG_H
#define PLATFORM_CONFIG_H

#include <sys_config.h>

//#define NO_FE_COMPONENT_BACKWARD_COMPAT
//#define NO_I2C_ADAPTER_BACKWARD_COMPAT
//#define NO_DVBCHANNEL_BACKWARD_COMPAT
#define NO_SHARED_TUNER
#define CONFIG_TUNER_DIB0090_P1C_F_SUPPORT
#define CONFIG_TUNER_DIB0090_P1G_SUPPORT

//#define CONFIG_DEBUG
#define CONFIG_BUILD_HOST
#define DIBCOM_EXTENDED_MONITORING
#define DIBCOM_GENERIC_MONITORING

#define CONFIG_STANDARD_DVBT
//#define CONFIG_STANDARD_DAB
#define CONFIG_STANDARD_ISDBT
#define CONFIG_STANDARD_ATSC
//#define CONFIG_STANDARD_ANALOG

#define CONFIG_BAND_VHF
#define CONFIG_BAND_CBAND
#define CONFIG_BAND_UHF
#define CONFIG_BAND_LBAND
#define CONFIG_BAND_SBAND

/*modified by alex 2010.11.18 : use sync mode to speed tune*/
#define CONFIG_NO_TUNE_ASYNC

//set the output mode (parallel gated (OUTPUT_MODE_TS_PARALLEL_GATED),
//parallel cont (OUTPUT_MODE_TS_PARALLEL_CONT), serial (OUTPUT_MODE_TS_SERIAL) or off (OUTPUT_MODE_OFF))
//the different values are defined in driver/include/adapter/common.h
#ifdef NIM_USE_SPI_MODE
#define CONFIG_OUTPUT_MODE OUTMODE_MPEG2_PAR_GATED_CLK
#else
#define CONFIG_OUTPUT_MODE OUTMODE_MPEG2_SERIAL//OUTMODE_MPEG2_PAR_GATED_CLK
#endif

#define CONFIG_DEMOD_I2C_CHUNK_SIZE 125

#define CONFIG_DIB0090_USE_PWM_AGC
#define CONFIG_SIP_DIB7090P_AUTO_ADC_FREQ

#define CONFIG_FIRMWARE_PATH ""

#define __unix__
#define __KERNEL__
#endif
